#include <QCoreApplication>
#include <iostream>
using namespace std;

int main()
{
    QCoreApplication a();
    int a,b,c,d,f;
        cout<<"vvedite trexznachnoe chislo: ";
        cin>>a;
        b = a / 100;
        c = a % 100;
        d = c % 10;
        f = c / 10;
        cout<<"chislo posle perestanovki: "<<d<<b<<f;

    return a.exec();
}
